﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using mealplanner.View;
using mealplanner.control;
using mealplanner.database;
using System.Collections;

namespace mealplanner
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new mealPlaner());

            //Normal user = new Normal();
            //ArrayList A = new ArrayList();
            //A = user.getHealthyMeal();
            //Meal user = new Meal();
            //double B;
            //ArrayList A = new ArrayList();
            //ArrayList B = new ArrayList();
            //A.Add("onine &");
            //A.Add("toma_");
            //B = user.checkMealName("rostchakan");
            //MessageBox.Show(B.ToString());
            
            //A.Add("Day 1");
            //A.Add("stick");
            //foreach (var x in A)
            //{
            //    MessageBox.Show(x.ToString());
            //}
           // user.deleteSpecificDetailsFromMenu("menu2",A);

            //user.updateMenu("menu2",A);
             //foreach (var x in A)
             //{
             //    MessageBox.Show(x.ToString());
             //}

            //user.deleteMenu("menu2");
           // Database.DatabaseConnection();
        }
    }
}
